package com.bl.student.common.utils;

import java.util.List;

/**
 * Created by yujingyi on 2018/1/18.
 */
public class ListUtils {

    static public <T> T getFirst(List<T> list) {
        return (list != null && !list.isEmpty()) ? list.get(0) : null;
    }
}
